﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ObjectModel
{
    /// <summary>
    /// Utility class. Represents a document ID with the copy flag. For example, the 
    /// service method CheckOut (2.2.7.1 in CMIS spec)returns an ObjectID element 
    /// and a contentCopied element. 
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmism)]
    public class CopyFlaggedDocumentId
    {
        [DataMember(Name = "documentId")]
        public string DocumentId
        {
            get;
            set;
        }

        [DataMember(Name = "contentCopied")]
        public bool ContentCopied
        {
            get;
            set;
        }
    }
}
